package com.retoc.oawx.mapper;

import com.retoc.oawx.domain.Evection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

/**
* @author retoc
* @description 针对表【tb_evection】的数据库操作Mapper
* @createDate 2022-06-23 18:10:02
* @Entity com.retoc.oawx.domain.Evection
*/
@Mapper
public interface EvectionMapper extends BaseMapper<Evection> {

    public int createEvection(Evection evection);

    public int setInstanceId(HashMap param);

    public Evection selectEvectionByInstanceId(String instanceId);

    ArrayList<HashMap> selectEvectionListByCreator(HashMap map);

    ArrayList<HashMap> selectOldEvectionListByCreator(HashMap map);

    void approveEvectionByInstanceId(String instanceId);

    HashMap selectEvectionById(Integer id);

    int deleteEvectionId(Integer id);

    Evection selectEvectionById1(Integer id);

    int updateEvection(Evection evection);
}




